package com.zimin.redis.constant.authorize;

/**
 * 权限注解
 *
 * @author zimin
 * @since 2021/12/27 10:24 上午
 */
public interface AuthorizeRedisConstant {

    /**
     * redis登录token-key
     */
    String REDIS_LOGIN_TOKEN = "mine:login:token:%s";

    /**
     * redis 登录信息
     */
    String REDIS_LOGIN_INFO = "mine:login:info:%s";

    /**
     * redis权限信息
     */
    String REDIS_LOGIN_PERMISSIONS = "mine:login:permissions:%s";

    /**
     * redis角色信息
     */
    String REDIS_LOGIN_ROLE = "mine:login:role:%s";

    /**
     * 12小时
     */
    Long TWELVE_EXPIRE_TIME = 12 * 60 * 60L;
}
